home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / Emulation_Include_Files / replerr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  1.1 KB  |  26 lines

  1. /****************************************************************************
  2. *                                                                           *
  3. * replerr.h -- Pegasus filter error codes                                   *
  4. *                                                                           *
  5. * Copyright (c) 1995-1996, Microsoft Corp. All rights reserved.             *
  6. *                                                                           *
  7. ****************************************************************************/
  8.  
  9. #ifndef _REPLERR_
  10. #define _REPLERR_
  11.  
  12. /*
  13.  * Define how errors are declared
  14.  */
  15. #define CF_DECLARE_ERROR(e)  (0x80040000 | e)
  16. #define PF_DECLARE_ERROR(e)  CF_DECLARE_ERROR(e)
  17.  
  18. /*
  19.  * Predefined error messages
  20.  */
  21. #define ERROR_ALREADYCONVERTING  CF_DECLARE_ERROR(0x5000)  // conversion is not reentrant
  22. #define ERROR_UNKNOWNCONVERSION  CF_DECLARE_ERROR(0x5001)  // conversion is not recognized by converter dll
  23. #define ERROR_BADFILE            CF_DECLARE_ERROR(0x5002)  // generic error that indicates that the format of a file was not understood
  24.  
  25. #endif /* !_REPLERR_ */
  26.